package jd.se.findpw;

import jd.se.login.LoginDto;
import jd.se.register.registerDto;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
 * @author SunJiahao
 * @date 2021-05-15 14:55
 */
public interface FindpwDao {
    @Select("select email from user where u_id = #{u_id}")
    String findUserEmail(FindDto dto);

    @Select("select count(u_id) from user where u_id = #{u_id} ")
    int findUserCountById(FindDto dto);

}
